{% extends "layout.html" %}

{% block content %}
  <!-- contact-form 2 -->
  <section class="ty-contact-2 py-5">
    <div class="container py-lg-5 py-md-4">
      <div class="contact-grids d-grid">
        <div class="contact-right">
          <form action="/contact" method="post" class="signin-form">
            <div class="input-grids">
              <input type="text" name="name" id="name" placeholder="留言人" class="contact-input" value="{{ data.title }}" required="" />
              <input type="email" name="email" id="email" placeholder="邮箱" class="contact-input" value="{{ data.email }}"  required="" />
            </div>
            <div class="form-input">
              <textarea name="content" id="content" placeholder="内容" required="">{{ data.content }}</textarea>
            </div>
            <button class="btn btn-style btn-outline">提交</button>
          </form>
        </div>
      </div>
  </section>

  {% endblock %}